package com.client.ryt.entity.exception;


import com.client.ryt.basic.BaseException;

import org.json.JSONException;
import org.json.JSONObject;


/**
 * Created by Administrator on 2014/7/14.
 */
public class RemoteDataException extends BaseException {
    String errcode;

    public String getErrcode() {
        return errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public RemoteDataException(JSONObject json) throws JSONException {
        super(ExceptionType.REMOTEDATA_ERR,json.getString("msg"),json.getString("errcode"));
    }
}
